﻿namespace WriterStars.Model
{
    using System;

    public class Order : IEntity
    {
        public int Id { get; set; }

        public string UserId { get; set; }

        public string OrderInfo { get; set; }

        public string Description { get; set; }

        public int ExpectedPrice { get; set; }

        public OrderState OrderState { get; set; }

        public DateTime CreationDate { get; set; }

        public DateTime DueDate { get; set; }

        public bool NotifyUser { get; set; }

        public virtual User User { get; set; }

        public string Keywords { get; set; }

        public KeywordsDensity KeywordsDensity { get; set; }
    }
}

public enum OrderState
{
    Pending,
    Negotiated,
    Payed,
    InProgress,
    Finished,
}

public enum KeywordsDensity
{
    Low,
    Normal,
    High
}